package com.usian.apis.wemedia;

import com.usian.model.admin.dtos.NewsAuthDto;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;
import com.usian.model.media.pojos.WmNewsVo;

import java.util.List;

public interface WmNewsControllerApi {

    public ResponseResult findAll(WmNewsPageReqDto dto);

    public ResponseResult submitNews(WmNewsDto dto);

    public ResponseResult findWmNewsById(Integer id);

    public ResponseResult delNews(Integer id);

    public ResponseResult downOrUp(WmNewsDto dto);

    public WmNews findWmNewsFeignById(Integer id);

    public boolean updateWmNews(WmNews wmNews);

    public List<Integer> findRelease();

    public ResponseResult findList(NewsAuthDto dto);

    public WmNewsVo findById(Integer id);

}
